package com.suixun.dao.devicemanage;

import java.util.List;

import com.suixun.entity.PackageInfo;
import com.suixun.entity.form.PackageForm;
import com.suixun.entity.page.PageModel;

/**
 * 
 * @author 
 *
 */
public interface PackageServiceDAO {

	

	/**
	 * 查询列表
	 */
	public List<PackageInfo> queryPackagelist(PackageForm paramForm);
	public List<PackageInfo> queryPackagelistPage(PageModel<?> page);
	public int addPackage(PackageInfo device);
	
	/**
	 * 删除
	 */
	public int deletePackage(int id);
	
	/**
	 * 更新
	 */
	public int updatePackage(PackageInfo device);

	/**
	 * 查询总行数
	 */
	public Integer countRows(PageModel<?> page);
	
	public PackageInfo queryPackageByName(PackageForm device);
	public PackageInfo queryPackageByID(PackageForm device);
	
}
